<%-- 
    Document   : productTG
    Created on : Jun 24, 2010, 6:10:33 AM
    Author     : cpn02
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@page  import="Model.*" %>
<%@page  import="ActionForm.SearchProForm" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<style type="text/css">
<!--
.style3 {font-size: 18px; font-style: italic; color: #FF66FF;}

a:hover,img:hover {font-weight:bold; cursor:pointer}
.style9 {
	color: #006464;
	font-size: 18px;
}


-->
</style>

    <body>
        <% SearchProForm spf=new SearchProForm();
        if(session.getAttribute("SearchProForm")!=null)
              spf = (SearchProForm)session.getAttribute("SearchProForm");
        if(spf.getAmount()==null || spf.getAmount().trim()=="")
        {
              spf.setCat("-1");
              spf.setAmount("8");
              spf.setGender("-1");
              spf.setMaxSize("-1");
              spf.setMinSize("-1");
              spf.setPage("1");
              }
           %>
       <html:form action="/client/pages/product" >
           <html:hidden property="minSize" name="SearchProForm" value="<%=spf.getMinSize()%>" />
           <html:hidden property="maxSize" name="SearchProForm" value="<%=spf.getMaxSize()%>" />
           <html:hidden property="cat" name="SearchProForm" value="<%=spf.getCat()%>" />
           <html:hidden property="gender" name="SearchProForm" value="<%=spf.getGender()%>" />
           <html:hidden property="page" name="SearchProForm" value="<%=spf.getPage()%>" />
           <html:hidden property="amount" name="SearchProForm" value="<%=spf.getAmount()%>" />
       </html:form>
       <script>document.forms[0].submit()</script>
    </body>

